package com.liusu.spider.service;

import com.liusu.spider.bean.Product;
import com.liusu.spider.mapper.ProductMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


public class ProductService {


    public ProductMapper mapper;

    /**
     * 插入数据
     * @param product
     * @return
     */
    public Boolean save(Product product){
        return true;
    }
    /**
     * 根据ID查询数据
     * @param product
     * @return
     */
    public Product save(Integer id){
        return null;
    }

}
